package com.jintian.smart.kernel.web.config;

import com.jintian.smart.kernel.common.factory.YamlPropertySourceFactory;
import lombok.AllArgsConstructor;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * WEB配置类
 */
@Configuration
@AllArgsConstructor
@EnableConfigurationProperties(SmartWebProperty.class)
@PropertySource(factory = YamlPropertySourceFactory.class, value = "classpath:smart-web.yaml")
public class SmartWebConfig implements WebMvcConfigurer {
}
